package com.sinping.qh.dto.admin.lab;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.sinping.qh.dto.base.BaseDTO;
import lombok.Data;
import org.bson.types.ObjectId;

import java.io.Serializable;
import java.util.List;

/**
 * @author jiahuaiqing
 * @create 2018/7/3
 */
@Data
public class InspectItemHiddenDangerDto extends BaseDTO implements Serializable {
    private static final long serialVersionUID = -7179481531161788659L;

    /**
     * 名称
     */
    @JsonProperty(value = "item_name")
    private String itemName;

    /**
     * 分类
     */
    @JsonProperty(value = "item_subcategory")
    private String itemSubcategory;

    /**
     * 类型
     */
    @JsonProperty(value = "item_category")
    private String itemCategory;

    /**
     * 上级ID
     */
    @JsonProperty(value = "item_parentid")
    private String itemParentId;
    /**
     * 级别
     */
    @JsonProperty(value = "item_level")
    private String itemLevel;

    /**
     * 排序
     */
    @JsonProperty(value = "item_order")
    private String itemOrder;

    /**
     * 修改人id
     */
    @JsonProperty(value = "update_user_id")
    private String updateUserId;
    /**
     * 创建人id
     */
    @JsonProperty(value = "create_user_id")
    private String createUserId;
    /**
     * 逻辑删除状态 0 正常 1删除
     */
    @JsonProperty(value = "status")
    private String status;

    @JsonProperty(value = "child_count")
    private int childCount;

    /**
     * 子类集合
     */
    private List<InspectItemHiddenDangerDto> childDtoList;
}
